package chapter7;

public class Eng {
    String name;
    int age;
    String title;

    public void work(){
        System.out.println(name+"在干活");
    }

    public void showInfo(){
        System.out.println("工程师的姓名为："+name+"年龄为"+age+"职称"+title);
    }
}
